<template>

      <footer class="footer">
        <div class="footer-content">
            <div class="footer-top">
                <div class="footer-info">
                    <div class="footer-logo">
                        <img src="@/assets/footer/logo.png" alt="">
                        <p class="footer-slogan">连接中越商界，促进双边经济</p>
                    </div>
                    
                    <div class="footer-details">
                        <p>Add: M Floor Ha Noi Hotel Business Center, No.D8 Giang Vo Stree,Ba Dinh Dist.,Ha Noi</p>
                        <p>Tel: +84-24-37368950/091 733 0806</p>
                        <p>Fax: +84-24-37368951</p>
                        <p>Email: cccv@vietchina.org / vietchina@qq.com / vietchina@163.com</p>
                    </div>
                </div>
                <div class="footer-divider"></div>
                <div class="footer-links">
                    <div class="link-column">
                        <h4>快速链接</h4>
                        <ul>
                            <li><a href="#">关于我们</a></li>
                            <li><a href="#">新闻动态</a></li>
                            <li><a href="#">会员企业</a></li>
                            <li><a href="#">联系我们</a></li>
                        </ul>
                    </div>
                    <div class="link-column">
                        <h4>会员服务</h4>
                        <ul>
                            <li><a href="#">会员注册</a></li>
                            <li><a href="#">会员权益</a></li>
                            <li><a href="#">技术支持</a></li>
                            <li><a href="#">资源下载</a></li>
                        </ul>
                    </div>
                    <div class="link-column">
                        <div class="qrcode">
                            <img src="@/assets/footer/code.png" alt="微信公众号二维码">
                            <p>微信公众号</p>
                        </div>
                    </div>
                </div>
            </div>
            <div class="footer-bottom">
                <div class="copyright">
                    <p>© 2023 亚越南中国安徽商户 版权所有</p>
                </div>
            </div>
        </div>
    </footer>
</template>
<script setup lang="ts">
import { ref } from "vue";
</script>
<style scoped lang="scss">
/* 底部样式 */
.footer {
  background-color: #11385A;
  color: #fff;
  padding: 60px calc((100% - 1600px) / 2 + 159px);
  // margin-top: 60px;
}

.footer-content {
  max-width: 1600px;
  margin: 0 auto;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  padding-bottom: 60px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-info {
  width: 625px;
}

.footer-logo {
  display: flex;
  align-items: center;
  margin-bottom: 30px;
  position: relative;
}

.logo-circle-outer {
  width: 60px;
  height: 60px;
  border: 3px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
}

.logo-circle-inner {
  width: 45px;
  height: 45px;
  border: 1.5px solid rgba(255, 255, 255, 0.8);
  border-radius: 50%;
  position: absolute;
  left: 7px;
  top: 7px;
}

.logo-star {
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #fff;
  left: 27px;
  top: 27px;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}

.footer-slogan {
  font-size: 30px;
  color: rgba(255, 255, 255, 0.8);
  margin-left: 20px;
  font-family: Ma Shan Zheng;
}

.footer-details p {
  font-size: 20px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 24px;
}

.footer-divider {
  height: 220px;
  width: 1px;
  background-color: rgba(255, 255, 255, 0.1);
  margin: 37.5px 0;
}

.footer-links {
  display: flex;
  width: 720px;
  justify-content: space-between;
}

.link-column h4 {
  font-size: 26px;
  color: #fff;
  margin-bottom: 30px;
}

.link-column ul {
  list-style: none;
  padding: 0;
}

.link-column li {
  margin-bottom: 30px;
}

.link-column a {
  text-decoration: none;
  color: rgba(255, 255, 255, 0.7);
  font-size: 22px;
}

.qrcode {
  text-align: center;
}

.qrcode img {
  width: 120px;
  height: 120px;
  background-color: #ccc;
  margin-bottom: 17px;
}

.qrcode p {
  font-size: 22px;
  color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
  text-align: center;
  padding-top: 61px;
}

.copyright p {
  font-size: 24px;
  color: rgba(255, 255, 255, 0.6);
}

/* 响应式设计 */
@media (max-width: 1920px) {
  .header-top,
  .main-nav,
  .content-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .footer {
    padding-left: 20px;
    padding-right: 20px;
  }
}

@media (max-width: 1700px) {
  .header-top,
  .main-nav,
  .content-section .container {
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .content-section .container {
    padding: 0 20px;
  }
  
  .footer {
    padding: 60px 20px;
  }
}

@media (max-width: 1400px) {
  .nav-list li {
    margin-right: 40px;
  }
  
  .news-detail .news-header h1 {
    font-size: 40px;
  }
  
  .news-content p {
    font-size: 24px;
  }
  
  .benefit-item p {
    font-size: 24px;
  }
}

@media (max-width: 1200px) {
  .header-top {
    flex-wrap: wrap;
    height: auto;
    padding: 20px;
  }
  
  .header-info {
    order: 3;
    margin-top: 20px;
  }
  
  .header-info h1 {
    font-size: 28px;
  }
  
  .header-info p {
    font-size: 14px;
  }
  
  .divider {
    display: none;
  }
  
  .content-section .container {
    flex-direction: column;
  }
  
  .content-left {
    border-radius: 30px 30px 0 0;
    border-right: none;
    border-bottom: 1px dashed #E4E7EC;
  }
  
  .sidebar {
    width: 100%;
    border-radius: 0 0 40px 40px;
  }
  
  .footer-top {
    flex-direction: column;
    gap: 40px;
  }
  
  .footer-info,
  .footer-links {
    width: 100%;
  }
  
  .footer-divider {
    display: none;
  }
  
  .link-column {
    margin-bottom: 30px;
  }
}

@media (max-width: 992px) {
  .header-info h1 {
    font-size: 24px;
  }
  
  .nav-list {
    flex-wrap: wrap;
    height: auto;
  }
  
  .nav-list li {
    margin: 10px 20px 10px 0;
  }
  
  .banner-content h2 {
    font-size: 60px;
  }
  
  .banner-content p {
    font-size: 30px;
  }
  
  .news-detail .news-header h1 {
    font-size: 36px;
  }
  
  .news-content p {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .header-top {
    flex-direction: column;
    text-align: center;
  }
  
  .header-right {
    margin-top: 20px;
  }
  
  .login-register,
  .language {
    font-size: 18px;
  }
  
  .nav-list {
    justify-content: center;
  }
  
  .banner {
    height: 400px;
  }
  
  .banner-content h2 {
    font-size: 40px;
    margin-bottom: 20px;
  }
  
  .banner-content p {
    font-size: 24px;
  }
  
  .content-left {
    padding: 20px;
  }
  
  .news-detail .news-header h1 {
    font-size: 28px;
  }
  
  .news-content p {
    font-size: 18px;
  }
  
  .sidebar {
    padding: 30px 20px;
  }
  
  .benefits-list {
    gap: 20px 40px;
  }
  
  .benefit-item {
    width: calc(50% - 20px);
  }
  
  .member-stats {
    flex-direction: column;
    text-align: center;
    gap: 20px;
  }
  
  .contact-methods {
    flex-direction: column;
    gap: 15px;
  }
}

@media (max-width: 576px) {
  .header-info h1 {
    font-size: 20px;
  }
  
  .login-register,
  .language {
    font-size: 16px;
  }
  
  .nav-list {
    font-size: 16px;
  }
  
  .nav-list li {
    margin: 5px 10px;
  }
  
  .banner {
    height: 300px;
  }
  
  .banner-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
  }
  
  .banner-content p {
    font-size: 20px;
  }
  
  .news-detail .news-header h1 {
    font-size: 24px;
  }
  
  .news-content p {
    font-size: 16px;
  }
  
  .benefit-item {
    width: 100%;
  }
  
  .search-input {
    flex-direction: column;
    height: auto;
  }
  
  .search-input input {
    padding: 15px;
  }
  
  .search-btn {
    width: 100%;
    padding: 15px;
  }
}
</style>
